//package com.scgk.sync.job;
//
//import com.scgk.sync.common.ErrorType;
//import com.scgk.sync.common.constant.YDTXTConstants;
//import com.scgk.sync.common.exception.BusinessException;
//import com.scgk.sync.service.IScgkCgRkldYdXzqdqrkService;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.scheduling.annotation.EnableScheduling;
//import org.springframework.scheduling.annotation.Scheduled;
//import org.springframework.stereotype.Component;
//
//import java.util.List;
//
///**
// * @author wusong
// * @version 1.0
// * @Description:
// * @create 2024-01-24 14:09
// */
//@Component
//@EnableScheduling
//@Slf4j
//public class GetYdTestJob {
//
//    @Autowired
//    private IScgkCgRkldYdXzqdqrkService ydXzqdqrkService;
//
//
//    @Scheduled(fixedRate = 20000)
//    public void getYdXzqdqrk() {
//        // 要读取文件的目录--当天时间
//        String FolderName = "20240124";
//        log.info("---------测试获取sftp服务器文件数据------------同步开始-------------------------");
//        try {
//            List<String> fileList = ydXzqdqrkService.getTest(FolderName);
//        } catch (Exception e) {
//            e.printStackTrace();
//        }
//        log.info("---------测试获取sftp服务器文件数据-------------同步结束-------------------------");
//    }
//
//
//}
